package com.cskaoyan.market.vo;

import com.cskaoyan.market.db.domain.MarketBrand;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class BrandVo {
    private Integer value;
    private String label;

    public BrandVo(MarketBrand marketBrand) {
        this.value = marketBrand.getId();
        this.label = marketBrand.getName();
    }
}
